package UCM;

import Controller.SimulationHandler;

/**
 * @author Matthew
 *         Date: Oct 26, 2010
 *         Time: 2:15:33 PM
 */
public class UCRunSimulation implements UCController{
    private SimulationHandler sh;

    public UCRunSimulation(SimulationHandler sh) {
        this.sh = sh;
    }

    public void run() {
        //System switches state of simulation
        sh.runPauseSimulation();
        //System displays frame
        sh.showSimulaiton();
        //System changes runSimulationBttn label
        sh.setRunSimulationBttnLable();
    }
}
